package com.baidu.automata.core.flow;

import com.baidu.automata.core.type.IntegerField;
import com.baidu.automata.core.type.StringField;

public class Step1 extends BaseOpStep {
	private IntegerField id = null;
	private StringField name = null;

	public Step1() {
		super();
	}

	public Step1(String id) {
		super(id);
	}

	@Override
	protected int execute() {
		System.out.println("Step1");
		System.out.println(((StringField) getDataFieldById("desc")).getValue());
		System.err.println(this.id.getValue());
		System.err.println(this.name.getValue());
		return 1;
	}

}
